using System;
using Gtk;
using RaisingStudio.Data;
using TestLibrary;
using RaisingStudio.Data.TestProject;

public partial class MainWindow: Gtk.Window
{	
	public MainWindow (): base (Gtk.WindowType.Toplevel)
	{
		Build ();
	}
	
	protected void OnDeleteEvent (object sender, DeleteEventArgs a)
	{
		Application.Quit ();
		a.RetVal = true;
	}

	protected void button_clicked (object sender, System.EventArgs e)
	{
		try
		{
			UnitTest1 test = new UnitTest1();
			test.TestMethod1();
			//test.Test1();
			test.Test2();
			test.Test3();
			test.Test4();
			test.Test5();
			test.Test6();
			test.Test7();
			test.Test8();
			test.Test9();
			test.Test10();
			test.Test11();
			test.Test12();
			test.Test13();
			test.Test14();
			test.Test15();
			//test.Test16();
			//test.Test17();
			//test.Test18();
			//test.Test19();
			//test.Test20();
			test.PerformanceTest();		
		}
		catch(Exception ex)
		{
			Console.WriteLine(ex);
		}
	}
}
